import './App.css'
import {
    BrowserRouter as Router,
    Routes,
    Route, Navigate,
} from 'react-router-dom'
import Home from "@/views/layout/index"
import Login from "@/views/login/index"
function App() {

  return (
    <div className="App">
     <Router>
         <Routes>
             <Route path="/" element={<Navigate to ="/home" replace />}></Route>
             <Route path="/home" element={<Home />}></Route>
             <Route path="/login" element={<Login />}></Route>
         </Routes>
     </Router>
    </div>
  )
}

export default App